<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SC2API: include/sc2api/sc2_coordinator.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="SC2-Logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SC2API
   </div>
   <div id="projectbrief">An API for AI for StarCraft II</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_3d0dfd3160b31ffa512c49330ac8d646.html">sc2api</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">sc2_coordinator.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="sc2__coordinator_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;sc2api/sc2_game_settings.h&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;sc2api/sc2_proto_interface.h&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacesc2.html">sc2</a> {</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">class </span>Agent;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keyword">class </span>ReplayObserver;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">class </span>CoordinatorImp;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classsc2_1_1_coordinator.html">   23</a></span>&#160;<span class="keyword">class </span><a class="code" href="classsc2_1_1_coordinator.html">Coordinator</a> {</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    <a class="code" href="classsc2_1_1_coordinator.html">Coordinator</a>();</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    ~<a class="code" href="classsc2_1_1_coordinator.html">Coordinator</a>();</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <span class="comment">// Initialization and setup.</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classsc2_1_1_coordinator.html#ada059b9a60d901be047ef33ce612c5d2">LoadSettings</a>(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>** argv);</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#a555587bc85ac437711d15b569c75181a">SetMultithreaded</a>(<span class="keywordtype">bool</span> value);</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#a602e6ead93e360771ce36d6ac782fc2a">SetRealtime</a>(<span class="keywordtype">bool</span> value);</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#a7cea718f571effbe25b771315628c685">SetStepSize</a>(<span class="keywordtype">int</span> step_size);</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#ad906656238e13a8bab21c46f50aecc3d">SetProcessPath</a>(<span class="keyword">const</span> std::string&amp; path);</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#aadbfd927d66314a4eb949b2de2ae37b4">SetTimeoutMS</a>(uint32_t timeout_ms = kDefaultProtoInterfaceTimeout);</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#aaad48921bac2f4f84471de5e9cff75d5">SetPortStart</a>(<span class="keywordtype">int</span> port_start);</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#ab46aec5712f6ec8ef12b03854f6e0495">SetFeatureLayers</a>(<span class="keyword">const</span> <a class="code" href="structsc2_1_1_feature_layer_settings.html">FeatureLayerSettings</a>&amp; settings);</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#ace8a0630c6b61d28e81c94bbebad3d7d">SetRender</a>(<span class="keyword">const</span> <a class="code" href="structsc2_1_1_render_settings.html">RenderSettings</a>&amp; settings);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#a9b0eca71a6f7575f35d1dd5c3e5d73cf">SetWindowSize</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height);</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#a6e372788e11c3916fdf1982eb2e55511">SetWindowLocation</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <span class="comment">// \param option The string to be appended to the executable invoke.</span></div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#aa59950d8ccb9d010288df3e1e6045eb9">AddCommandLine</a>(<span class="keyword">const</span> std::string&amp; option);</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <span class="comment">// \param participants A vector of player setups for each participant in the game.</span></div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="comment">// \sa PlayerSetup</span></div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#aed4bf1a5cf1519fc0488bc5d4641a582">SetParticipants</a>(<span class="keyword">const</span> std::vector&lt;PlayerSetup&gt;&amp; participants);</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <span class="keywordtype">void</span> SetReplayRecovery(<span class="keywordtype">bool</span> value);</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <span class="comment">// \param replay_observer A pointer to the replay observer to utilize.</span></div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="comment">// \sa ReplayObserver</span></div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#a16ebfba44b1abbc303770e4958922d05">AddReplayObserver</a>(<a class="code" href="classsc2_1_1_replay_observer.html">ReplayObserver</a>* replay_observer);</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="comment">// Start-up.</span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#ac06566447119abac229fd671d39ff2ee">LaunchStarcraft</a>();</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classsc2_1_1_coordinator.html#a32ea6e639a39ec1fc813dffa2993d5b1">StartGame</a>(<span class="keyword">const</span> std::string&amp; map_path = std::string());</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    <span class="comment">// Run.</span></div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classsc2_1_1_coordinator.html#af70ba5246f9d447eb8a69cd76d364eee">Update</a>();</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#af8ae051962776e946e457791f70bf6d2">LeaveGame</a>();</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <span class="comment">// Status.</span></div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classsc2_1_1_coordinator.html#a31058950f418aa5d488fbda684c02146">AllGamesEnded</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    <span class="comment">// Replay specific.</span></div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="comment"></span>    <span class="comment">// \param path The folder path.</span></div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classsc2_1_1_coordinator.html#a86987e853e780259867996f4350e3a87">SetReplayPath</a>(<span class="keyword">const</span> std::string&amp; path);</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <span class="comment">// \param path The file path.</span></div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classsc2_1_1_coordinator.html#a4c4f1b394633b6379aa65bfc264d6f74">LoadReplayList</a>(<span class="keyword">const</span> std::string&amp; file_path);</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    <span class="comment">// \param path The file path.</span></div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#a063c9a9f2d31bc48fb2d4db0aaa7d791">SaveReplayList</a>(<span class="keyword">const</span> std::string&amp; file_path);</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classsc2_1_1_coordinator.html#a451a422eb904f69b55b273ddfe3f0e58">HasReplays</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <span class="comment">// Misc.</span></div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classsc2_1_1_coordinator.html#a177f926215050e4d249df208b03a387d">WaitForAllResponses</a>();</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    <span class="comment">// \param data The map data.</span></div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    <span class="comment">// \param data_size The size of map data.</span></div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    <span class="comment">// \param remote_path The file path to save the data to.</span></div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="comment"></span>    <span class="keywordtype">bool</span> <a class="code" href="classsc2_1_1_coordinator.html#abddb83c4a267e3592932da7d198a97d5">RemoteSaveMap</a>(<span class="keyword">const</span> <span class="keywordtype">void</span>* data, <span class="keywordtype">int</span> data_size, std::string remote_path);</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    std::string <a class="code" href="classsc2_1_1_coordinator.html#a9f256d8cc391acd89a29e4369112d69b">GetExePath</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    CoordinatorImp* imp_;</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;};</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;}</div><div class="ttc" id="classsc2_1_1_coordinator_html_a86987e853e780259867996f4350e3a87"><div class="ttname"><a href="classsc2_1_1_coordinator.html#a86987e853e780259867996f4350e3a87">sc2::Coordinator::SetReplayPath</a></div><div class="ttdeci">bool SetReplayPath(const std::string &amp;path)</div><div class="ttdoc">Sets the path for to a folder of replays to analyze. </div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_a063c9a9f2d31bc48fb2d4db0aaa7d791"><div class="ttname"><a href="classsc2_1_1_coordinator.html#a063c9a9f2d31bc48fb2d4db0aaa7d791">sc2::Coordinator::SaveReplayList</a></div><div class="ttdeci">void SaveReplayList(const std::string &amp;file_path)</div><div class="ttdoc">Saves replays to a file. </div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_aaad48921bac2f4f84471de5e9cff75d5"><div class="ttname"><a href="classsc2_1_1_coordinator.html#aaad48921bac2f4f84471de5e9cff75d5">sc2::Coordinator::SetPortStart</a></div><div class="ttdeci">void SetPortStart(int port_start)</div></div>
<div class="ttc" id="structsc2_1_1_render_settings_html"><div class="ttname"><a href="structsc2_1_1_render_settings.html">sc2::RenderSettings</a></div><div class="ttdoc">Settings for an RGB rendered output. </div><div class="ttdef"><b>Definition:</b> sc2_game_settings.h:41</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_aed4bf1a5cf1519fc0488bc5d4641a582"><div class="ttname"><a href="classsc2_1_1_coordinator.html#aed4bf1a5cf1519fc0488bc5d4641a582">sc2::Coordinator::SetParticipants</a></div><div class="ttdeci">void SetParticipants(const std::vector&lt; PlayerSetup &gt; &amp;participants)</div><div class="ttdoc">Sets up the bots and whether they are controlled by in-built AI, human or a custom bot...</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_a177f926215050e4d249df208b03a387d"><div class="ttname"><a href="classsc2_1_1_coordinator.html#a177f926215050e4d249df208b03a387d">sc2::Coordinator::WaitForAllResponses</a></div><div class="ttdeci">void WaitForAllResponses()</div><div class="ttdoc">Blocks for all bots to receive any pending responses. </div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_af70ba5246f9d447eb8a69cd76d364eee"><div class="ttname"><a href="classsc2_1_1_coordinator.html#af70ba5246f9d447eb8a69cd76d364eee">sc2::Coordinator::Update</a></div><div class="ttdeci">bool Update()</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_a16ebfba44b1abbc303770e4958922d05"><div class="ttname"><a href="classsc2_1_1_coordinator.html#a16ebfba44b1abbc303770e4958922d05">sc2::Coordinator::AddReplayObserver</a></div><div class="ttdeci">void AddReplayObserver(ReplayObserver *replay_observer)</div><div class="ttdoc">Add an instance of ReplayObserver, each ReplayObserver will run a separate StarCraft II client...</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_ac06566447119abac229fd671d39ff2ee"><div class="ttname"><a href="classsc2_1_1_coordinator.html#ac06566447119abac229fd671d39ff2ee">sc2::Coordinator::LaunchStarcraft</a></div><div class="ttdeci">void LaunchStarcraft()</div><div class="ttdoc">Uses settings gathered from LoadSettings, specifically the path to the executable, to run StarCraft II. </div></div>
<div class="ttc" id="namespacesc2_html"><div class="ttname"><a href="namespacesc2.html">sc2</a></div><div class="ttdef"><b>Definition:</b> sc2_action.h:9</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_a555587bc85ac437711d15b569c75181a"><div class="ttname"><a href="classsc2_1_1_coordinator.html#a555587bc85ac437711d15b569c75181a">sc2::Coordinator::SetMultithreaded</a></div><div class="ttdeci">void SetMultithreaded(bool value)</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_ad906656238e13a8bab21c46f50aecc3d"><div class="ttname"><a href="classsc2_1_1_coordinator.html#ad906656238e13a8bab21c46f50aecc3d">sc2::Coordinator::SetProcessPath</a></div><div class="ttdeci">void SetProcessPath(const std::string &amp;path)</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_a6e372788e11c3916fdf1982eb2e55511"><div class="ttname"><a href="classsc2_1_1_coordinator.html#a6e372788e11c3916fdf1982eb2e55511">sc2::Coordinator::SetWindowLocation</a></div><div class="ttdeci">void SetWindowLocation(int x, int y)</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html"><div class="ttname"><a href="classsc2_1_1_coordinator.html">sc2::Coordinator</a></div><div class="ttdoc">Coordinator of one or more clients. Used to start, step and stop games and replays. </div><div class="ttdef"><b>Definition:</b> sc2_coordinator.h:23</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_ada059b9a60d901be047ef33ce612c5d2"><div class="ttname"><a href="classsc2_1_1_coordinator.html#ada059b9a60d901be047ef33ce612c5d2">sc2::Coordinator::LoadSettings</a></div><div class="ttdeci">bool LoadSettings(int argc, char **argv)</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_a602e6ead93e360771ce36d6ac782fc2a"><div class="ttname"><a href="classsc2_1_1_coordinator.html#a602e6ead93e360771ce36d6ac782fc2a">sc2::Coordinator::SetRealtime</a></div><div class="ttdeci">void SetRealtime(bool value)</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_abddb83c4a267e3592932da7d198a97d5"><div class="ttname"><a href="classsc2_1_1_coordinator.html#abddb83c4a267e3592932da7d198a97d5">sc2::Coordinator::RemoteSaveMap</a></div><div class="ttdeci">bool RemoteSaveMap(const void *data, int data_size, std::string remote_path)</div><div class="ttdoc">Saves a binary blob as a map to a remote location. </div></div>
<div class="ttc" id="classsc2_1_1_replay_observer_html"><div class="ttname"><a href="classsc2_1_1_replay_observer.html">sc2::ReplayObserver</a></div><div class="ttdoc">A client for running a replay. </div><div class="ttdef"><b>Definition:</b> sc2_replay_observer.h:18</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_a31058950f418aa5d488fbda684c02146"><div class="ttname"><a href="classsc2_1_1_coordinator.html#a31058950f418aa5d488fbda684c02146">sc2::Coordinator::AllGamesEnded</a></div><div class="ttdeci">bool AllGamesEnded() const</div><div class="ttdoc">Returns true if all running games have ended. </div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_aa59950d8ccb9d010288df3e1e6045eb9"><div class="ttname"><a href="classsc2_1_1_coordinator.html#aa59950d8ccb9d010288df3e1e6045eb9">sc2::Coordinator::AddCommandLine</a></div><div class="ttdeci">void AddCommandLine(const std::string &amp;option)</div><div class="ttdoc">Appends a command line argument to be fed to StarCraft II when starting. </div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_aadbfd927d66314a4eb949b2de2ae37b4"><div class="ttname"><a href="classsc2_1_1_coordinator.html#aadbfd927d66314a4eb949b2de2ae37b4">sc2::Coordinator::SetTimeoutMS</a></div><div class="ttdeci">void SetTimeoutMS(uint32_t timeout_ms=kDefaultProtoInterfaceTimeout)</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_a451a422eb904f69b55b273ddfe3f0e58"><div class="ttname"><a href="classsc2_1_1_coordinator.html#a451a422eb904f69b55b273ddfe3f0e58">sc2::Coordinator::HasReplays</a></div><div class="ttdeci">bool HasReplays() const</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_a4c4f1b394633b6379aa65bfc264d6f74"><div class="ttname"><a href="classsc2_1_1_coordinator.html#a4c4f1b394633b6379aa65bfc264d6f74">sc2::Coordinator::LoadReplayList</a></div><div class="ttdeci">bool LoadReplayList(const std::string &amp;file_path)</div><div class="ttdoc">Loads replays from a file. </div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_a9b0eca71a6f7575f35d1dd5c3e5d73cf"><div class="ttname"><a href="classsc2_1_1_coordinator.html#a9b0eca71a6f7575f35d1dd5c3e5d73cf">sc2::Coordinator::SetWindowSize</a></div><div class="ttdeci">void SetWindowSize(int width, int height)</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_ab46aec5712f6ec8ef12b03854f6e0495"><div class="ttname"><a href="classsc2_1_1_coordinator.html#ab46aec5712f6ec8ef12b03854f6e0495">sc2::Coordinator::SetFeatureLayers</a></div><div class="ttdeci">void SetFeatureLayers(const FeatureLayerSettings &amp;settings)</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_ace8a0630c6b61d28e81c94bbebad3d7d"><div class="ttname"><a href="classsc2_1_1_coordinator.html#ace8a0630c6b61d28e81c94bbebad3d7d">sc2::Coordinator::SetRender</a></div><div class="ttdeci">void SetRender(const RenderSettings &amp;settings)</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_a9f256d8cc391acd89a29e4369112d69b"><div class="ttname"><a href="classsc2_1_1_coordinator.html#a9f256d8cc391acd89a29e4369112d69b">sc2::Coordinator::GetExePath</a></div><div class="ttdeci">std::string GetExePath() const</div></div>
<div class="ttc" id="structsc2_1_1_feature_layer_settings_html"><div class="ttname"><a href="structsc2_1_1_feature_layer_settings.html">sc2::FeatureLayerSettings</a></div><div class="ttdoc">Settings for feature layer output. </div><div class="ttdef"><b>Definition:</b> sc2_game_settings.h:57</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_a7cea718f571effbe25b771315628c685"><div class="ttname"><a href="classsc2_1_1_coordinator.html#a7cea718f571effbe25b771315628c685">sc2::Coordinator::SetStepSize</a></div><div class="ttdeci">void SetStepSize(int step_size)</div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_af8ae051962776e946e457791f70bf6d2"><div class="ttname"><a href="classsc2_1_1_coordinator.html#af8ae051962776e946e457791f70bf6d2">sc2::Coordinator::LeaveGame</a></div><div class="ttdeci">void LeaveGame()</div><div class="ttdoc">Requests for the currently running game to end. </div></div>
<div class="ttc" id="classsc2_1_1_coordinator_html_a32ea6e639a39ec1fc813dffa2993d5b1"><div class="ttname"><a href="classsc2_1_1_coordinator.html#a32ea6e639a39ec1fc813dffa2993d5b1">sc2::Coordinator::StartGame</a></div><div class="ttdeci">bool StartGame(const std::string &amp;map_path=std::string())</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
